﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPages.master" AutoEventWireup="true" CodeFile="AdminSearchCustomer.aspx.cs" Inherits="Admin_AdminSearchCustomer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        Customer Name:
        <asp:TextBox ID="txtCustomerName" runat="server"></asp:TextBox>
        <asp:Button ID="btnSearch" runat="server" onclick="btnSearch_Click" 
            Text="Search" ValidationGroup="Search" />
        <br />
    </p>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            EnableModelValidation="True">
            <Columns>
                <asp:BoundField DataField="CustomerID" HeaderText="ID" />
                <asp:BoundField DataField="UserName" HeaderText="User Name" />
                <asp:BoundField DataField="CustomerName" HeaderText="Customer name" />
                <asp:BoundField DataField="DOB" HeaderText="Date Of Birth" />
                <asp:BoundField DataField="Gender" HeaderText="Gender" />
                <asp:BoundField DataField="Email" HeaderText="Email" />
                <asp:BoundField DataField="PhoneNumber" HeaderText="Phone" />
                <asp:BoundField DataField="Address" HeaderText="Address" />
            </Columns>
            <EmptyDataTemplate>
                Not Found
            </EmptyDataTemplate>
        </asp:GridView>
    </p>
    <p>
    </p>
    <p>
    </p>
</asp:Content>

